scrolling: interpret smooth deltas as pixels on quartz
authorJesse van den Kieboom <jessevdk@gmail.com>
Fri, 5 Sep 2014 11:38:30 +0000 (13:38 +0200)
committerJesse van den Kieboom <jessevdk@gmail.com>
Fri, 5 Sep 2014 12:02:11 +0000 (14:02 +0200)
commit3fa425bb9cc3114559de09f25e57ff759bc5b531
tree60d7f088d4256cce99e42f427464d4f3305a6995
parentfb3019a946fedd091ae89b604caeb1a5c7159643
scrolling: interpret smooth deltas as pixels on quartz

This is a temporary workaround for scrolling units being amplified
on quartz, due to the assumption that smooth scrolling deltas are
always in some abstract unit similar to the one from xi2.

A proper solution for the situation is described in bug #736121, but
since we are close to release, this patch solves the issue temporarily.

https://bugzilla.gnome.org/show_bug.cgi?id=736121
gtk/gtkrange.c
gtk/gtkscrolledwindow.c